# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=semodule-utils
pkgver=3.7
pkgrel=0
pkgdesc="SELinux semodule utilities"
url="https://github.com/SELinuxProject/"
arch="all"
license="GPL-2.0-only"
makedepends="libsepol-dev"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/SELinuxProject/selinux/releases/download/$pkgver/semodule-utils-$pkgver.tar.gz"

build() {
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="
133f76ddff0cc4121e59560f4167e15288cc7f6172a39b49ea631803f6e3365fef95166a55498fa2e036de85466e37bb6ec164ef60855eef8c888c9b384b0120  semodule-utils-3.7.tar.gz
"
